<template>
  <div id="home_app">
      <el-card>
        <el-button size="mini" type="success" @click="changeFlag">添加</el-button>
        <el-divider></el-divider>
        <Table></Table>
        <Model :showFlag="showFlag"></Model>
      </el-card>
  </div>
</template>

<script>
import Model from './Model'
import Table from './Table'
export default {
  components:{
    Table,
    Model
  },
  data(){
    return {
      showFlag:{status:false}
    }
  },
  methods:{
    changeFlag(){
      this.showFlag.status = true
      
    }
  }
}
</script>

<style>

</style>